<html>
<head>
<title><?php echo $title;?></title>
</head>
<link rel="stylesheet" href="http://localhost/CodeIgniter_2.0.3/views/css/estilos.css">
<body>
<h1><?php echo $heading;?></h1>

<h3>My Todo List</h3>

<ul>
<?php foreach ($todo_list as $item):?>

<li><?php echo $item;?></li>

<?php endforeach;?>
</ul>

<TABLE BORDER = 1> 
	<CAPTION>Alumno</CAPTION> 
	<TR> 
		<TD>carnet</TD> 
		<TD>nombre</TD> 
		<TD>apellidos</TD> 
		<TD>sexo</TD> 
	</TR> 
 
	<?php foreach ($query as $row):?>
		<TR> 
			<TD> <?php echo $row->carnet;?> </TD> 
			<TD> <?php echo $row->nombre;?> </TD> 
			<TD> <?php echo $row->apellidos;?> </TD> 
			<TD> <?php echo $row->sexo;?> </TD> 
		</TR> 
	<?php endforeach;?>
</TABLE> 
 

</body>
</html>